<div class="form-group" {guanlians}>
	<label ng-show="'{title}' !=''" class="col-xs-12 col-sm-3 col-md-2 right-label" ng-class="{'must':{must}}">
		{{check_show_lang('{title}')}}
	</label>
	<div ng-class="{'col-xs-12 col-sm-8 col-lg-9':1,'col-jy-10':'{title}'==''}">
	<div ng-if="'{tip}'!=''" class="alert alert-success alert-dismissable"><i class="fa fa-bullhorn alert-link"></i> {tip}</div>
	<div class="table-responsive" ng-class="{'panel-body':'{title}'}" style="padding:0" ng-init="checkarray({tovalue},'{name}')">
			<table class="table jinyun-table table-hover vertical-middle jinyun-form">
				<thead class="navbar-inner">
					<tr>
						{list_head}
						<th class="text-right" style="word-break : break-all;">{{check_show_lang('操作','operation')}}</th>
					</tr>
				</thead>
				<tbody id="re-items">
					<tr ng-repeat="item in {tovalue}.{name}">
						{list}
						<td class="text-right">
							<a href="javascript:;" title="上移" ng-if="$index>0" ng-click="{tovalue}.{name}.splice($index-1,0,item);{tovalue}.{name}.splice($index+1,1)" class="btn btn-primary btn-sm">{{check_show_lang('上移','plus')}}</a>
							<a href="javascript:;" title="编辑" ng-click="func.detail_{name}(item)" class="btn btn-primary btn-sm"><i class="fa fa-edit"></i></a>
							<a href="javascript:;" ng-click="{tovalue}.{name}.splice($index,1)" title="删除此条目" class="btn btn-danger btn-sm"><i class="fa fa-times"></i></a> &nbsp;
						</td>
					</tr>
					<tr>
						<td colspan='{count}' class="text-left">
							<a class="color-gray add-new-keyword" href="javascript:;" ng-click="newfield={};i={tovalue}.{name}.push(newfield);func.detail_{name}({tovalue}.{name}[i-1])">
								<span class="add-icon"><i class="fa fa-plus"></i></span>
								<span class="text">{{check_show_lang('{add_tip}')}}</span>
							</a>
						</td>
					</tr>
				</tbody>
			</table>
	</div>
	</div>
</div>
<div id="floating-content-{name}" ng-init="pagedata.current_field={}" class="modal fade" data-cs="xxx" tabindex="-1" style="z-index:1039;display:none">
    <div class="jinyun-modal-dialog modal-dialog" style='width: 920px;'>
        <div class="modal-content">
            <div class="modal-header"><button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button><h3>设置详细信息</h3></div>
			<div class="modal-body form-horizontal">
            {details}
			</div>
            <div class="modal-footer"><a  class="btn btn-primary" ng-click="func.detail_submit_{name}()">{{check_show_lang('完成_save')}}</a></div>
        </div>
    </div>
</div>
<script>
window.scope.func.detail_{name}=function(item){
	window.scope.pagedata.current_field=item;
	//var cs=$('#floating-content-{name}').attr('data-cs');
	//alert(cs);
	window.bootstrap('#floating-content-{name}').modal();
}
window.scope.func.detail_submit_{name}=function(){
	window.scope.check_form('floating-content-{name}');
	window.bootstrap('#floating-content-{name}').modal('hide');
}

</script>